The is_detected type trait is used to detect if a class contains a particular member. Let's take a look at how it is used to detect whether a class has a particular member function by name. If the member function exists, the value of the returned type is true; otherwise, it's false.
Here are two completely different classes:
struct Octopus { auto mess_with_arms() {} }; struct Whale { auto blow_a_fountain() ...