parameters: (obj)
return_statement: return not shape.isNull() and shape.Volume and shape.isClosed()
docstring: isSolid(obj) ... return True if the object is a valid solid.
docstring_summary: isSolid(obj) ... return True if the object is a valid solid.
docstring_tokens: isSolid ( obj ) ... return True if the object is a valid solid .
function: def isSolid(obj):
      """isSolid(obj) ... return True if the object is a valid solid."""
      import Part
  
      shape = Part.getShape(obj)
      return not shape.isNull() and shape.Volume and shape.isClosed()
function_tokens: def isSolid ( obj ) : import Part shape = Part . getShape ( obj ) return not shape . isNull ( ) and shape . Volume and shape . isClosed ( )