Answer
False
Work Step by Step
An interval such as $(a,b)$ does not include the endpoints. So if $f$ is a strictly increasing or decreasing function, but not completely horizontal, then no absolute minimum or maximum can be attained.
If $f$ has a constant slope, it will be a horizontal line and there will be no absolute maximum or minimum value.
Hence, the given statement is false.