NSURL has an isFileURL selector.  Not sure if it does more than test scheme.