original_docstring: check if the node has the attributes
  
          :param attributes: attributes to check on the node
          :type attributes: list[str]
  
          :return: ``True`` : it has the attributes - ``False`` : it does not have the attributes
          :rtype: bool
          
docstring: check if the node has the attributes
docstring_tokens: check if the node has the attributes
code: def hasAttributes(self, attributes):
          """check if the node has the attributes
  
          :param attributes: attributes to check on the node
          :type attributes: list[str]
  
          :return: ``True`` : it has the attributes - ``False`` : it does not have the attributes
          :rtype: bool
          """
  
          # init
          attrs = maya.cmds.listAttr(self.name())
          specifiedAttributes = set(attrs) & set(attributes)
  
          # return
          return sorted(specifiedAttributes) == sorted(attributes)
code_tokens: def hasAttributes ( self , attributes ) : attrs = maya . cmds . listAttr ( self . name ( ) ) specifiedAttributes = set ( attrs ) & set ( attributes ) return sorted ( specifiedAttributes ) == sorted ( attributes )
short_docstring: check if the node has the attributes
short_docstring_tokens: check if the node has the attributes
comment: """check if the node has the attributes
  
          :param attributes: attributes to check on the node
          :type attributes: list[str]
  
          :return: ``True`` : it has the attributes - ``False`` : it does not have the attributes
          :rtype: bool
          """$SEP$# init$SEP$# return