It looks to me like the read method does not return a value? (ie, returns void) So it's an error that you are testing the value as if it returned a bool.
There are a couple versions of the RF24 library. One has the read() method that returns a bool, the other returns nothing (void). Use the examples that come with the library that you have installed.