title: JavaFX Listener to check for a boolean value
body: <p>I have a game with a GUI with a couple of buttons that you press to eventually complete the game.</p>
  
  <p><em>I have the following boolean to test:</em></p>
  
  <pre><code>public boolean complete(){
      if (initvalue==finalvaue)){
          return true;
      }
      else {
          return false;
      }
  }
  </code></pre>
  
  <p>I want to create a listener to check if the game is finished and to print out a message to the user. I think I need to create a <code>SimpleBooleanProperty</code> for this to work. But would I need to bind it to the boolean value above?</p>
  
  <p>What would the best way to go about this?</p>