original_docstring: Determines if graph nodes have the "nodetype" attribute
      
      Parameters:
          :graph (Graph): input graph
          
      Returns:
          :has_nodetype (bool): that's self explanatory bro
          
      
docstring: Determines if graph nodes have the "nodetype" attribute
docstring_tokens: Determines if graph nodes have the " nodetype " attribute
code: def has_nodetypes(graph):
      """Determines if graph nodes have the "nodetype" attribute
      
      Parameters:
          :graph (Graph): input graph
          
      Returns:
          :has_nodetype (bool): that's self explanatory bro
          
      """
      attributes = nx.get_node_attributes(graph, "nodetype")
      if attributes == {}:
          return False
      else:
          return True
code_tokens: def has_nodetypes ( graph ) : attributes = nx . get_node_attributes ( graph , "nodetype" ) if attributes == { } : return False else : return True
short_docstring: Determines if graph nodes have the "nodetype" attribute
short_docstring_tokens: Determines if graph nodes have the " nodetype " attribute
comment: """Determines if graph nodes have the "nodetype" attribute
      
      Parameters:
          :graph (Graph): input graph
          
      Returns:
          :has_nodetype (bool): that's self explanatory bro
          
      """