original_docstring: 
          Can be used to set the "byLabel" flag in several worklist
          commands. It returns True if the plate has a non-empty rackLabel field.
          It returns False if the plate has a valid pair of barcode and rackType.
          Otherwise it raises a PlateError.
          
          Returns:
              bool: 
                  - True, if plate can be identified by rackLabel in worklists
                  - False, if plate can be identified by barcode and rackType
          Raises:
              PlateError: if neither is possible
          
docstring: Can be used to set the "byLabel" flag in several worklist
  commands. It returns True if the plate has a non-empty rackLabel field.
  It returns False if the plate has a valid pair of barcode and rackType.
  Otherwise it raises a PlateError.
docstring_tokens: Can be used to set the " byLabel " flag in several worklist commands . It returns True if the plate has a non - empty rackLabel field . It returns False if the plate has a valid pair of barcode and rackType . Otherwise it raises a PlateError .
code: def byLabel(self):
          """
          Can be used to set the "byLabel" flag in several worklist
          commands. It returns True if the plate has a non-empty rackLabel field.
          It returns False if the plate has a valid pair of barcode and rackType.
          Otherwise it raises a PlateError.
          
          Returns:
              bool: 
                  - True, if plate can be identified by rackLabel in worklists
                  - False, if plate can be identified by barcode and rackType
          Raises:
              PlateError: if neither is possible
          """
          if self.rackLabel:
              return True
          if self.barcode and self.rackType:
              return False
          raise PlateError('cannot identify plate by either label or (barcode + type)')
code_tokens: def byLabel ( self ) : if self . rackLabel : return True if self . barcode and self . rackType : return False raise PlateError ( 'cannot identify plate by either label or (barcode + type)' )
short_docstring: Can be used to set the "byLabel" flag in several worklist
  commands.
short_docstring_tokens: Can be used to set the " byLabel " flag in several worklist commands .
comment: """
          Can be used to set the "byLabel" flag in several worklist
          commands. It returns True if the plate has a non-empty rackLabel field.
          It returns False if the plate has a valid pair of barcode and rackType.
          Otherwise it raises a PlateError.
          
          Returns:
              bool: 
                  - True, if plate can be identified by rackLabel in worklists
                  - False, if plate can be identified by barcode and rackType
          Raises:
              PlateError: if neither is possible
          """