def is_repository(self, path):
realPath = os.path.realpath( os.path.expanduser(path) )<EOL>if not os.path.isdir(realPath):<EOL><INDENT>return False<EOL><DEDENT>if "<STR_LIT>" not in os.listdir(realPath):<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Check if there is a Repository in path.

:Parameters:
    #. path (string): The real path of the directory where to check if there is a repository.

:Returns:
    #. result (boolean): Whether its a repository or not.