This is not a sentence. Also boolean is not a datatype in R. Also you need to describe what the logical value represents. A type constraint or reading the code already says that the return is a logical value.