Improved Cmd Checking

[+] Added isValidCmd() to check and see if a command actually exists in
the CommandList. (Implementation will be added later to better handle
unknown commands)