@staticmethod
def _is_resource_created(request):
    """Test if new resource is created.

        Args:
            request (dict): JSON resource received from a client.

        Returns:
            bool: True if a new resource is created.
        """
    method = request.method.lower()
    override = request.get_header('x-http-method-override', default=method)
    if (method == 'post' or override == 'post') or (method == 'put' or 
        override == 'put'):
        return True
    return False
