add function check if event has location or not