User can edit page if invisible

FOUND IT!
Whilst browsing the forum i found this topic/answer, which has “isVisible()”, which is exactly what I need;

'panel.page.create' => true,
'panel.page.visibility' => false,
'panel.page.delete' => false,
'panel.page.update' => function (){
  return !($this->target()->page()->isVisible());
},