def check_key(key, expected_chr):
    """Checks the key against the expected_chr. Specifically running ord() on the expected_chr"""
    if key == ord(expected_chr.upper()) or key == ord(expected_chr.lower()):
        return True
    return False
