Code style
Added method to get state if it is something to render