code: def is_code_unit(self):
          
          for atom in self.expr.atoms():
              if not (str(atom).startswith("code") or atom.is_Number):
                  return False
          return True
docs: Is this a "code" unit?
  
          Returns
          -------
          True if the unit consists of atom units that being with "code".
          False otherwise