Functions: get_object_or_this function added

Use this a a lot and think it might come in handy.