intype dynamic infer type Usage from intype import has_literal word = 'chocolate' print(has_literal(word))