supportsArg function

Tests if function supports a given argument