(podcast)
return isinstance(podcast, Podcast)
Returns True if the argument is a podcast (esp not a PodcastGroup)
Returns True if the argument is a podcast (esp not a PodcastGroup)
Returns True if the argument is a podcast ( esp not a PodcastGroup )
def is_podcast(podcast):
    """Returns True if the argument is a podcast (esp not a PodcastGroup)"""
    from mygpo.podcasts.models import Podcast

    return isinstance(podcast, Podcast)
def is_podcast ( podcast ) : from mygpo . podcasts . models import Podcast return isinstance ( podcast , Podcast )