Nitpick: for consistency, it'd be best if this was 1/0. Something like this:

    $issticky = $remote->is_sticky_entry( $ditemid ) ? 1 : 0;