class ProfileCheck implements Command<String, Object, ProfileContext> {

    public Processing execute(ProfileContext context) {
        Profile profile = context.getProfile();

        if (null == profile) {
            context.setProfile(newProfile(context));
        }
        return Processing.CONTINUE;
    }

}