parameters: (self)
return_statement: return True
docstring: Returns True if this Unit has no dimensions.
          Returns False otherwise.
docstring_summary: Returns True if this Unit has no dimensions.
          Returns False otherwise.
docstring_tokens: Returns True if this Unit has no dimensions . Returns False otherwise .
function: def is_dimensionless(self):
          """Returns True if this Unit has no dimensions.
          Returns False otherwise.
          """
          if self in Unit._is_dimensionless_cache:
              return Unit._is_dimensionless_cache[self]
          for dimension, exponent in self.iter_base_dimensions():
              if exponent != 0:
                  Unit._is_dimensionless_cache[self] = False
                  return False
          Unit._is_dimensionless_cache[self] = True
          return True
function_tokens: def is_dimensionless ( self ) : if self in Unit . _is_dimensionless_cache : return Unit . _is_dimensionless_cache [ self ] for dimension , exponent in self . iter_base_dimensions ( ) : if exponent != 0 : Unit . _is_dimensionless_cache [ self ] = False return False Unit . _is_dimensionless_cache [ self ] = True return True