In csh, tcsh, bash, perl (etc) you can do tests on par with (not necessarily with the same syntax):
test -e PATH; # Does PATH exist
test -f PATH; # Is PATH a file
test -d PATH; # is PATh a directory
...
Does a similar construct exist for checking whether a binary is in your path? (and perhaps whether an alias, or even a built-in exist)
Obviously this can be done with something of the form:
#!/usr/bin/env bash
C=COMMAND;
test $(which $C) -o $(alias $C) && "$C exists"
or something similar in other shells/script languages.
The question isn't whether it's possible to test for the existence of a program, command, etc. The question is whether a built-in test exists or not.