Helper function to check if a path is safe.

isSafePath(path)

Arguments

path

string path

Value

TRUE if path is safe