def METHOD_NAME(reference_dsm, reference_dtm, compare_dsm, compare_dtm):
    if not path.exists(reference_dsm) or not path.exists(reference_dtm) or not path.exists(compare_dsm) or not path.exists(compare_dtm):
        raise Exception('Failed to find all four required DEMs to detect changes.')