Check a bool method with if statement

How do I check if a function that is given a bool is true?

In this example below the if statement isn’t working. I would like to check from void Start() if PlayMusic() is true. What is the proper way to type this?

void Start() {

		if (PlayMusic() == true) {
                    DoSomething;
    }
}

public void PlayMusic (bool play) {

	
		if (play) {
			 
                           DoSomething;
			} 
		} else {
			DoSomething;
		}

Try this

public PlayMusic (bool play) {
 
     
         if (play) {
              
                            return true;
             } 
         } else {
             return false;
         }

by returning a true or false, when using the method it will return true or false depending on the method
ALSO NOTE

HAVING ‘VOID’ IN THE METHOD DEFINITION WILL MAKE IT SO IT WILL NOT RETURN ANYTHING.
REMOVE THE ‘VOID’ (like in the code).