```python
def check_element(list,element):
  """
  Checks whether all items of a list are equal to a given string.

  Args:
    list: The list to check.
    element: The string to compare against.

  Returns:
    True if all items in the list are equal to the element, False otherwise.
  """
  return all(item == element for item in list)
```