def METHOD_NAME(
    self,
    envelope: RecordEnvelope[MetadataChangeProposalClass],
) -> Optional[RecordEnvelope[MetadataChangeProposalClass]]:
    assert envelope.record.entityUrn
    assert isinstance(self, SingleAspectTransformer)
    if envelope.record.aspectName == self.aspect_name() and envelope.record.aspect:
        transformed_aspect = self.transform_generic_aspect(
            entity_urn=envelope.record.entityUrn,
            aspect_name=envelope.record.aspectName,
            aspect=envelope.record.aspect,
        )
        self._mark_processed(envelope.record.entityUrn)
        if transformed_aspect is None:
            log.debug(
                f"Dropping record {envelope} as transformation result is None"
            )
        envelope.record.aspect = transformed_aspect
    else:
        self._record_mcp(envelope.record)
    return envelope if envelope.record.aspect is not None else None