public static Optional<StopEvent> createStopEvent(Identification source) {
        try {
            StopEvent stopRequest = new StopEvent(source);
            return Optional.of(stopRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional<StopEvent> createStopEvent(Identification source) {
        try {
            StopEvent stopRequest = new StopEvent(source);
            return Optional.of(stopRequest);
        } catch (IllegalArgumentException e) {
            return Optional.empty();
        }
    }
public static Optional < StopEvent > createStopEvent ( Identification source ) { try { StopEvent stopRequest = new StopEvent ( source ) ; return Optional . of ( stopRequest ) ; } catch ( IllegalArgumentException e ) { return Optional . empty ( ) ; } }
creates a new StopEvent
@param source the caller
@return the optional StartMusicRequest
creates a new StopEvent