public static function hasOwnership($app, $ownershipPostID)
    {
        if($ownershipPostID) {
            if(isPostType($app)) {
                $checkDB = DB::table($app)
                  ->where('postID', $ownershipPostID)
                  ->where('createdByUserID', Auth::user()->userID)
                  ->count();
            }else{
                $class = 'App\\Models\\'.$app;
                $object = new $class();
                $checkDB = DB::table($object->table)
                  ->where($object->getKeyName(), $ownershipPostID)
                  ->where('createdByUserID', Auth::user()->userID)
                  ->count();
            }


            return ($checkDB) ? true : false;
        }
    }