Sorry, forgot to rename the function from isLocal(). Easy fix.