docs: def has_calmjs_artifact_declarations(cmd, registry_name='calmjs.artifacts'):
      """
      For a distutils command to verify that the artifact build step is
      possible.
      """
  
      return any(get(registry_name).iter_records_for(
          cmd.distribution.get_name()))