def deleteSymbol(command, mySymbols):
    """ Check if command is to delete stock symbol (d | delete [SYM/#]). """
    expression = command.strip().lower()
    words = expression.split()
    return (len(mySymbols) > 0 and ("d " in expression or "delete " in expression) and (words[0] == "d" or words[0] == "delete") and len(words) == 2)