"in python, how to check if a string only contains certain characters?",check('ABC')