def validate_extraction(self, buildtarget: mesonlib.HoldableObject) -> None:
    if (self.subproject != buildtarget.subproject):
        raise InterpreterException('Tried to extract objects from a different subproject.')
def validate_extraction(self, buildtarget: mesonlib.HoldableObject) -> None:
    if (self.subproject != buildtarget.subproject):
        raise InterpreterException('Tried to extract objects from a different subproject.')