code: def load_definition_by_name(name: str) -> dict:
      
      def_path = 'shared_data/definitions2/{}.json'.format(name.lower())
      labware_def = json.loads(pkgutil.get_data('opentrons', def_path))  # type: ignore # NOQA
      return labware_def
docs: Look up and return a definition by name (name is expected to correspond to
      the filename of the definition, with the .json extension) and return it or
      raise an exception
  
      :param name: A string to use for looking up a labware defintion previously
          saved to disc. The definition file must have been saved in a known
          location with the filename '${name}.json'