def alphanumericp(c):
    """Returns true if character is an alphabetic character or a numeric 
    character; otherwise, returns false. """
    return type(c) is str and c.isalpha() or c.isnumeric()
