def has_quantity(self, quantity, include_native=True):
if include_native:<EOL><INDENT>return all(q in self._native_quantities for q in self._translate_quantities({quantity}))<EOL><DEDENT>return quantity in self._quantity_modifiers<EOL>
Check if *quantity* is available in this catalog

Parameters
----------
quantity : str
    a quantity name to check

include_native : bool, optional
    whether or not to include native quantity names when checking

Returns
-------
has_quantity : bool
    True if the quantities are all available; otherwise False