Stock.can_fit_element

Stock.can_fit_element(element)[source]

Check if an element can fit in the remaining space.

Parameters:
elementElement

The element to check

Returns:
bool

True if element fits in remaining space, False otherwise