pub fn metadata_length(&self) -> usize {
        self.detected_metadata
            .clone()
            .as_ref()
            .map_or(0, DetectedMetadata::length)
    }
Returns the length of the metadata in the bytecode.
core/lib/types/src/contract_verification/contract_identifier.rs