@staticmethod<EOL><INDENT>def _isSingleCharacter(keychr):<DEDENT>
if not keychr:<EOL><INDENT>return False<EOL><DEDENT>if len(keychr) == <NUM_LIT:1>:<EOL><INDENT>return True<EOL><DEDENT>return keychr.count('<STR_LIT:<>') == <NUM_LIT:1> and keychr.count('<STR_LIT:>>') == <NUM_LIT:1> andkeychr[<NUM_LIT:0>] == '<STR_LIT:<>' and keychr[-<NUM_LIT:1>] == '<STR_LIT:>>'<EOL>
Check whether given keyboard character is a single character.

        Parameters: key character which will be checked.
        Returns: True when given key character is a single character.