function is_membership_approved($group_id)
 {
     require_once WPPR_PLUGIN_DIR . '/models/group-model.php';
     $model = new Group_Model();
     $user_id = get_current_user_id();
     if ($model->get_membership_status($group_id, $user_id)) {
         return true;
     } else {
         return false;
     }
 }