Update core/modules/LoA/LoA.php

added checker