class Profile extends AuditableEntity {

    public static boolean isAffiliationsComplete(User user) {
        Optional<ZonedDateTime> doiLastSignedDateTime = user.getAffiliations().stream().findAny().map(AuditableEntity::getModifiedOn);
        return doiLastSignedDateTime.isPresent() &&
                doiLastSignedDateTime.get()
                        .isAfter(startOfCurrentFinancialYear(
                                ZonedDateTime.now()).atStartOfDay(ZoneId.systemDefault())
                        );
    }

    public  Profile();

}