@classmethod
def check_name(cls, name):
    """Check whether name is a correct node (flow/task) name.

        :param name: node name
        :return: True if name is a correct node name
        :rtype: bool
        """
    return cls._NAME_RE.match(name)
