These are logical checkers to centralize determination of the source of a file. Local files, OneDrive files, and SharePoint files each have different access methods - so in reading these file the origin needs to first be checked.

is_sharepoint_file(f)

is_onedrive_file(f)

is_cloud_file(f)

Arguments

f

File path of file to check

Value

Boolean