further flattened if/then hierarchy by returning false if there's no profile location.