'Ensure some simple limits on the number of transforms allowed.
Raises:
BadRequestError if MAX_TRANSFORMS_PER_REQUEST transforms have already been
requested for this image'

def _check_transform_limits(self):

    if (len(self._transforms) >= MAX_TRANSFORMS_PER_REQUEST):
        raise BadRequestError(('%d    transforms    have    already    been    requested    on    this    image.' % MAX_TRANSFORMS_PER_REQUEST))
