<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sanity(request, sysmeta_pyxb):
 """Check that sysmeta_pyxb is suitable for creating a new object and matches the uploaded sciobj bytes."""

    _does_not_contain_replica_sections(sysmeta_pyxb)
    _is_not_archived(sysmeta_pyxb)
    _obsoleted_by_not_specified(sysmeta_pyxb)
    if 'HTTP_VENDOR_GMN_REMOTE_URL' in request.META:
        return
    _has_correct_file_size(request, sysmeta_pyxb)
    _is_supported_checksum_algorithm(sysmeta_pyxb)
    _is_correct_checksum(request, sysmeta_pyxb)