Remove "const bool" return

Returning by const value is meaningless
Remove const value return
Internal class consting