public function hasPendingInvite( $email, $team )
    {
        if( is_object( $team ) )
        {
            $team = $team->getKey();
        }
        if( is_array( $team ) )
        {
            $team = $team["id"];
        }
        return $this->app->make(Config::get('teamwork.invite_model'))->where('email', "=", $email)->where('team_id', "=", $team )->first() ? true : false;
    }