hestia_earth.utils.tools.is_node_of

hestia_earth.utils.tools.is_node_of(node_type)[source]

Check wether node is of a certain Hestia Type.

Parameters
  • node_type – The type to check for.

  • node – The node.

Returns

True if matches type.

Return type

bool