Functions: get_object_or_this function added

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