Function Theme.hasColor

Returns true if Color with name is in type. Returns false if the theme does not have type.

bool hasColor (
  const(String) name,
  const(String) type
) nothrow @nogc const;