<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_available_languages(self, obj):
 """ Returns available languages for current object. """

        return obj.available_languages if obj is not None else self.model.objects.none()