In the time of William Shakespeare , women 's roles were generally played by men or boys .
In the time of William Shakespeare , men and boys played women 's roles , but women may have acted secretly .