def exceeds_max_cost(self, cost):
    "\n        Return true if ``cost`` is greater than the policy's max cost.\n\n        :param float cost:\n        :rtype: bool\n        "
    return ((self._max_cost is not None) and (cost > self._max_cost))
Return true if ``cost`` is greater than the policy's max cost.

:param float cost:
:rtype: bool
def exceeds_max_cost(self, cost):
    "\n        Return true if ``cost`` is greater than the policy's max cost.\n\n        :param float cost:\n        :rtype: bool\n        "
    return ((self._max_cost is not None) and (cost > self._max_cost))