Add the getBoolean method

New API: adds the getBoolean method to complete the get, getInt, getFloat methods