<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _raise_check_aggregation(aggregation: str):
 """ Check whether the given aggregation is present in NumPy or it is one of EXTRA_AGGREGATIONS. :param aggregation: the aggregation name :raise ValueError: if the specified aggregation is not supported or found in NumPy """

        if aggregation not in ComputeStats.EXTRA_AGGREGATIONS and not hasattr(np, aggregation):
            raise ValueError('Aggregation `{}` is not a NumPy function or a member '
                             'of EXTRA_AGGREGATIONS.'.format(aggregation))