<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_pure_name(path):
 """ Return True if path is a name and not a file path. Parameters path : str Path (can be absolute, relative, etc.) Returns ------- bool True if path is a name of config in config dir, not file path. """

    return (
        not os.path.isabs(path)
        and len(os.path.dirname(path)) == 0
        and not os.path.splitext(path)[1]
        and path != '.'
        and path != ''
    )