def identify_request(request: RequestType) -> bool:
<EOL>try:<EOL><INDENT>data = json.loads(decode_if_bytes(request.body))<EOL>if "<STR_LIT>" in data:<EOL><INDENT>return True<EOL><DEDENT><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT>return False<EOL>
Try to identify whether this is an ActivityPub request.