(self, short_code)
return available
Pass a short url code and it tells weather that is available
        or not.

        :param short_code:
        :return: bool
Pass a short url code and it tells weather that is available
        or not.
Pass a short url code and it tells weather that is available or not .
def is_available(self, short_code):
        """Pass a short url code and it tells weather that is available
        or not.

        :param short_code:
        :return: bool
        """
        try:
            resp = self.unshorten(short_code)
            available = not(resp is not None)
        except (UnAuthorized, LinkExpired):
            available = False
        except ObjectNotFound:
            available = True
        return available
def is_available ( self , short_code ) : try : resp = self . unshorten ( short_code ) available = not ( resp is not None ) except ( UnAuthorized , LinkExpired ) : available = False except ObjectNotFound : available = True return available