'Optional.isPresent' should be used before invoking 'Optional.get' to access value | CAST Appmarq