To rephrase your question,
Does [tex]y=0.5+2[/tex] hold the form of [tex]y=mx+n[/tex]?
The answer is yes.
Hope this helps.
Note:
Pedantic answer should be considered. In the above answer [tex]y = \dots[/tex] is not a function but rather an equation of a line.