check in simplesamlphp