SFML doesn't have real collision detection mechanisms, it can just find out if and how rectangles overlap. For more advanced tasks, you could look at Boost.Geometry or a full physics library like Box2D, although I doubt it's appropriate for a Tetris.