@classmethod
def is_valid_name(cls, name):
    """
        check whether plot div id or filenname are valid
        """
    if cls.invalid_name_pattern.search(name):
        return False
    else:
        return True
