def METHOD_NAME(self, context='dcp') -> bool:
    if context.lower() == 'dcp':
        return self.is_dcp(dpp=True)
    elif context.lower() == 'dgp':
        return self.is_dgp(dpp=True)
    else:
        raise ValueError("Unsupported context ", context)