def METHOD_NAME(self, sample):
    return (
        self.get_component_by_address(
            Container.Pin.get_sample_address(sample[0], sample[1])
        )
        == self.get_loaded_sample()
    )