Bash Check If Substring Is Not A Function