c ++ – Detect if an item is found inside a container

I just wrote this template to detect if a given element is in a container:

model  bool is_contained (Iterator begin, Iterator end, decltype (* begin) object)
{
for (start! = end; ++ start)
{
if (* begin == object)
{
return true;
}
}
returns false;
}

What would then be called for examples like:

test bool = is_contained(container.begin (), container.end (), no matter what);

It works well, but I think it's not so readable. I am also new to use decltype which makes me wonder if it would crash, and in one way or another I will not call the model properly. All comments are highly appreciated.